package com.spa.infrastructure.service.douyin;

/**
 * 网站应用
 */
public class DouYinWebConstant {

    //获取 access_token
    public static final String OAUTH_ACCESS_TOKEN = "https://open.douyin.com/oauth/access_token/";

    //刷新 access_token
    public static final String OAUTH_REFRESH_TOKEN = "https://open.douyin.com/oauth/refresh_token/";

    //刷新 refresh_token
    public static final String OAUTH_RENEW_REFRESH_TOKEN = "https://open.douyin.com/oauth/renew_refresh_token/";

    //获取用户公开信息
    public static final String OAUTH_USERINFO = "https://open.douyin.com/oauth/userinfo/";

    //抖音获取授权码
    public static final String OAUTH_CONNECT = "https://open.douyin.com/platform/oauth/connect?client_key=awbaaz95932uj4tz&response_type=code&scope=user_info&redirect_uri=https://test.spadj.com/dy/notify/oauth/connect";

    //查询授权账号视频列表
    public static final String VIDEO_LIST = "https://open.douyin.com/api/douyin/v1/video/video_list/";

    //查询视频携带的地点信息
    public static final String POI_SEARCH = "https://open.douyin.com/poi/search/keyword/";

    //通过ItemID获取IFrame代码
    public static final String GET_IFRAME_BY_ITEM = "https://open.douyin.com/api/douyin/v1/video/get_iframe_by_item?item_id=ITEMID&client_key=APP_ID";

    //评论列表
    public static final String ITEM_COMMENT_LIST = "https://open.douyin.com/item/comment/list/?open_id=OPENID&cursor=0&count=COUNT&item_id=ITEMID&sort_type=time";

    //回复视频评论
    public static final String ITEM_COMMENT_REPLY = "https://open.douyin.com/item/comment/reply/?open_id=OPENID";

    //置顶评论
    public static final String ITEM_COMMENT_TOP = "https://open.douyin.com/item/comment/top/?open_id=OPENID";

}
